Skip to content

feat: add dotnet10 to benchmarks#3451

Open
SamuelCox wants to merge 4 commits intomaxday:mainfrom
SamuelCox:add-dotnet-10
Open

feat: add dotnet10 to benchmarks#3451
SamuelCox wants to merge 4 commits intomaxday:mainfrom
SamuelCox:add-dotnet-10

Conversation

@SamuelCox
Copy link

@SamuelCox SamuelCox commented Jan 5, 2026

Pull Request Checklist

For New Runtime Additions

  • Added the new runtime to the manifest.json file
  • Updated README.md to reflect the new runtime
  • Gave execution permission to build.sh
  • If needed, updated .github/dependabot.yml
  • If needed, updated .gitignore

Description

Add support for dotnet10 and dotnet10 aot.

https://aws.amazon.com/blogs/compute/net-10-runtime-now-available-in-aws-lambda/
This one is probably particularly interesting since there is a known performance problem for Lambda until Microsoft releases a patch.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@SamuelCox SamuelCox changed the title feat: preemptively add dotnet10 to benchmarks feat: add dotnet10 to benchmarks Jan 10, 2026
@SamuelCox SamuelCox marked this pull request as ready for review January 10, 2026 18:42
@SamuelCox
Copy link
Author

I think everything should be there but please do let me know if I'm missing anything

@SamuelCox
Copy link
Author

Hey @maxday , any chance of getting this merged? Appreciate this is a spare time/voluntary project, so no worries if you're super busy, thought it might have just gotten lost in the noise.

@maxday
Copy link
Owner

maxday commented Feb 28, 2026

thanks a lot @SamuelCox will have a look at it this week-end aiming to merge this before next Monday!
💯

@maxday
Copy link
Owner

maxday commented Mar 1, 2026

Thanks @SamuelCox
LGTM!
Just one thing, it fails to build to aot version on my machine with this error:

 => ERROR [builder 6/7] RUN /root/.dotnet/dotnet publish --configuration Release --arch arm64 --output /tmp/publish                                        10.5s 
------                                                                                                                                                           
 > [builder 6/7] RUN /root/.dotnet/dotnet publish --configuration Release --arch arm64 --output /tmp/publish:                                                    
0.217                                                                                                                                                            
0.217 Welcome to .NET 10.0!                                                                                                                                      
0.217 ---------------------                                                                                                                                      
0.217 SDK Version: 10.0.103                                                                                                                                      
0.217 
0.217 Telemetry
0.217 ---------
0.217 The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
0.217 
0.217 Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
0.338 
0.338 ----------------
0.338 Installed an ASP.NET Core HTTPS development certificate.
0.338 To trust the certificate, run 'dotnet dev-certs https --trust'
0.338 Learn about HTTPS: https://aka.ms/dotnet-https
0.338 
0.338 ----------------
0.338 Write your first app: https://aka.ms/dotnet-hello-world
0.338 Find out what's new: https://aka.ms/dotnet-whats-new
0.338 Explore documentation: https://aka.ms/dotnet-docs
0.338 Report issues and find source on GitHub: https://github.com/dotnet/core
0.338 Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
0.338 --------------------------------------------------------------------------------------
0.602   Determining projects to restore...
8.321   Restored /tmp/LambdaPerf.csproj (in 7.55 sec).
10.19   LambdaPerf -> /tmp/bin/Release/net10.0/linux-arm64/bootstrap.dll
10.29 /root/.nuget/packages/microsoft.dotnet.ilcompiler/10.0.1/build/Microsoft.DotNet.ILCompiler.SingleEntry.targets(60,5): warning : Delete explicit 'Microsoft.DotNet.ILCompiler' package reference in your project file to avoid versioning problems. [/tmp/LambdaPerf.csproj]
10.29 /root/.nuget/packages/microsoft.dotnet.ilcompiler/10.0.1/build/Microsoft.NETCore.Native.Publish.targets(70,5): error : The PrivateSdkAssemblies ItemGroup is required for _ComputeAssembliesToCompileToNative [/tmp/LambdaPerf.csproj]

By removing the line I commented on your PR, it builds successfully, WDYT? If you agree, can you update the PR so I can merge? Or I can add a commit on top of your PR, let me know!

Thanks for your contribution!

<PackageReference Include="Amazon.Lambda.RuntimeSupport" Version="1.14.1" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.8.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4" />
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="10.0.1" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what removing this?

<PackageReference Include="Amazon.Lambda.Core" Version="2.8.0" />
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4" />
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="10.0.1" />
<PackageReference Include="Microsoft.NET.ILLink.Tasks" Version="10.0.1" />
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the indentation is missing here

@SamuelCox
Copy link
Author

Will update later today, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants